{
  f1=new TFile("../DATA/histRecTHnIDFF_LHC10de_TPC1TOF9_kMC0_ETA0_JPT10-15/histRecTHnIDFF_LHC10de_TPC1TOF9_kMC0_ETA0_JPT10-15.root");
  h1=(TH1D*)f1->Get("horiginalyield");

  f2=new TFile("../DATA/histRecTHnIDFF_LHC10de_TPC2TOF9_kMC0_ETA0_JPT10-15/histRecTHnIDFF_LHC10de_TPC2TOF9_kMC0_ETA0_JPT10-15.root");
  h2=(TH1D*)f2->Get("horiginalyield");

  h1->RebinX(5);  h2->RebinX(5);

  h2->Divide(h2,h1,1,1,"B"); h2->SetLineColor(kBlack); style::ToNaturalScale(h2);

  //-----
  g1=new TFile("../../more_MCjet_10032014/DATA/histRecTHnIDFF_LHCMC10de_TPC1TOF9_kMC1_ETA0_JPT10-15/histRecTHnIDFF_LHCMC10de_TPC1TOF9_kMC1_ETA0_JPT10-15.root");
  k1=(TH1D*)g1->Get("horiginalyield");

  g2=new TFile("../../more_MCjet_10032014/DATA/histRecTHnIDFF_LHCMC10de_TPC2TOF9_kMC1_ETA0_JPT10-15/histRecTHnIDFF_LHCMC10de_TPC2TOF9_kMC1_ETA0_JPT10-15.root");
  k2=(TH1D*)g2->Get("horiginalyield");

  k1->RebinX(5);  k2->RebinX(5);

  k2->Divide(k2,k1,1,1,"B"); k2->SetLineColor(kBlack); style::ToNaturalScale(k2); k2->SetLineStyle(kDashed);

  //---

  gStyle->SetOptStat("");
  gStyle->SetTitleX(0.5);
  gStyle->SetTitleW(0.90);

  h2->SetTitle("Solid: data, dashed: MC (10d+e jet pt 10-15 GeV/c tracks, | #eta | <0.2);p(GeV/c);count ratio Geo / TPCsignalN>60");
  h2->GetXaxis()->SetRangeUser(0.1,50);
  h2->SetMinimum(0.6);
  
  h2->Draw("hist e");
  k2->Draw("same hist e");

  gPad->SetLogx();

  c1->Print("tpccount.eps");
}

